extends Node2D

@onready var animation:AnimationPlayer=$AnimationPlayer


# 初始化
func _ready() -> void:
	drop()

# 掉落
func drop():
	animation.play('苹果掉落')
	await animation.animation_finished
	animation.play('渐隐')
	await animation.animation_finished
	queue_free()
